import request from "@/utils/request";

export function queryPage(data) {
  return request({
    url: "/projectUser/queryPage",
    method: "post",
    data
  })
}

export function queryList(data) {
  return request({
    url: "/projectUser/queryList",
    method: "get",
    params: data
  })
}

export function insertByModel(data) {
  return request({
    url: "/projectUser/insertByModel",
    method: "post",
    data
  })
}

export function updateByModel(data) {
  return request({
    url: "/projectUser/updateByModel",
    method: "post",
    data
  })
}

export function deleteByModel(data) {
  return request({
    url: "/projectUser/delete",
    method: "post",
    data
  })
}
export function resetPassword(data) {
  return request({
    url: "/projectUser/resetPassword",
    method: "post",
    data
  })
}
